package com.qf.mp2302.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.mp2302.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

//@Mapper
public interface UserMapper extends BaseMapper<User> {

    public User login(@Param("name") String name,@Param("age") Integer age);

    public int insert(User user);
}
